# $Id: PKGBUILD 64234 2012-02-11 00:28:07Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Nicolás de la torre <ndelatorre@gmail.com>
# Contributor: Ryan Coyner <rcoyner@gmail.com>
# Contributor: Jens Maucher <defcon@archlinux.us>

pkgname=python2-rope
pkgver=0.9.4
pkgrel=1
pkgdesc='Python refactoring library'
arch=('any')
url='http://rope.sourceforge.net/'
license=('GPL')
depends=('python2')
source=("http://pypi.python.org/packages/source/r/rope/rope-$pkgver.tar.gz")
sha256sums=('2dc0342604851d8fbdafa198172eab5da7ed422759016669056181e21c54a6ba')

build() {
  cd "rope-$pkgver"

  python2 setup.py build
}

package() {
  cd "rope-$pkgver"

  python2 setup.py install --root="$pkgdir" --optimize=1
}

# vim:set ts=2 sw=2 et:
